package com.ldn.server.queue;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author 李大牛家的牛 (scafel@163.com)
 * @product serverless
 * @className QueueApplication
 * @createDate 2025/3/6 - 11:15
 * @description ToDo...
 **/
@SpringBootApplication(scanBasePackages = {"com.ldn.server.queue", "com.ldn.server.boot3.starter", "com.ldn.database.dao"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ldn.server.boot3.starter.feign"})
@MapperScan("com.ldn.database.dao.mapper")
@EnableAsync
public class QueueApplication {

    public static void main(String[] args) {
        SpringApplication.run(QueueApplication.class, args);
    }
}